classes = [
    {"name": "abyss", "age": 25, "grade": "A"},
    {"name": "kin", "age": 23, "grade": "B"},
    {"name": "tian", "age": 24, "grade": "B"},
    {"name": "hun", "age": 26, "grade": "A"},
    {"name": "exe", "age": 21, "grade": "A"}
]
classes.sort(key=lambda x: x['age'])
print(classes)

a = map(lambda x: x['age']+1, classes)
print(list(a))

b = filter(lambda x: x["grade"]=="A", classes)
print(list(b))

def fab(n):
  if n==1:
    return 1
  if n==0:
    return 0
  else:
    result=int(fab(n-1))+int(fab(n-2))
    return result

for i in range(18):
    print(fab(i))